package cn.zm.trip.web.dao;

import cn.zm.trip.web.domain.Hotel;
import cn.zm.trip.web.domain.HotelExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface HotelDao extends BaseMapper<Hotel> {

    int deleteByPrimaryKey(Integer hid);

    int insert(Hotel record);

    int insertSelective(Hotel record);

    List<Hotel> selectByExampleWithBLOBs(HotelExample example);

    List<Hotel> selectByExample(HotelExample example);

    List<Hotel> hotelPointSearch(Hotel hotel);

    Hotel selectByPrimaryKey(Integer hid);

    int updateByPrimaryKeySelective(Hotel record);

    int updateByPrimaryKeyWithBLOBs(Hotel record);

    int updateByPrimaryKey(Hotel record);
}